package org.example.settings.service.impl;

import org.example.settings.domain.DictionaryValue;
import org.example.settings.mapper.DictionaryValueMapper;
import org.example.settings.service.DictionaryValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("DictionaryValueService")
public class DictionaryValueImpl implements DictionaryValueService {
    @Autowired
    private DictionaryValueMapper dictionaryValueMapper;

    @Override
    public String getOrderNoByStageValue(String stageValue) {
        return dictionaryValueMapper.getOrderNoByStageValue(stageValue);
    }

    @Override
    public List<DictionaryValue> selectDicValueByType(String codeType) {
        return dictionaryValueMapper.selectDicValueByType(codeType);
    }
}
